﻿CREATE TABLE [dbo].[SitePages] (
    [Id]                   INT            IDENTITY (1, 1) NOT NULL,
    [Title]                NVARCHAR (128) NULL,
    [MetaName]             NVARCHAR (128) NULL,
    [MetaKeywords]         NVARCHAR (512) NULL,
    [CultureInfo]          NVARCHAR (5)   NOT NULL,
    [SitePageDefinitionId] INT            NOT NULL,
    CONSTRAINT [PK_SitePages] PRIMARY KEY CLUSTERED ([Id] ASC),
    CONSTRAINT [FK_SitePages_SitePagesDefinitions] FOREIGN KEY ([SitePageDefinitionId]) REFERENCES [dbo].[SitePageDefinitions] ([Id]) ON DELETE CASCADE ON UPDATE CASCADE
);

